package com.example.android_app.database.table;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.Index;
import androidx.room.PrimaryKey;

@Entity(tableName = "users", indices = {@Index(value = {"username"}, unique = true)})
public class User {
   @PrimaryKey
   public int uid;

   @ColumnInfo(name = "username")
    public String username;

   @ColumnInfo(name = "password")
    public String password;

}
